/*!		The event "class" is used to handle events
 *
 *		Events are handle using function the Observable/observer or signal/slot patter
 *		A callback function is called when an action is executed (mouse down, move etc), and it fire
 *		all function pointer linked to the current event
 */

 Event = function()
{
	
}

 Method	=	function(aObject, aFunction)
{
	/********************************/
	/*			Properties			*/
	/********************************/
		
		this.m_Function;
		this.m_Object;
	
	/********************************/
	/*			Constructors		*/
	/********************************/
	
	this.m_Function		= 	aFunction;
	this.m_Object		=	aObject;
}

Method.prototype.Fire	=	function(arg1, arg2, arg3, arg4)
{
	this.m_Object.func=this.m_Function;
	this.m_Object.func(arg1, arg2, arg3, arg4);
}

